#pragma once

NTKERNELAPI NTSTATUS NTAPI ZwQuerySystemInformation(
    _In_ int SystemInformationClass,
    _Out_writes_bytes_opt_(SystemInformationLength) PVOID SystemInformation,
    _In_ ULONG SystemInformationLength,
    _Out_opt_ PULONG ReturnLength
);

NTKERNELAPI ULONG NTAPI PsGetProcessSessionIdEx(_In_ PEPROCESS Process);

